package com.njym.java.security.admin.biz;

import com.njym.java.security.admin.entity.FamilyCounselor;
import com.njym.java.security.admin.entity.FamilyCounselorVo;
import com.njym.java.security.admin.mapper.FamilyCounselorMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-11-07 14:34:13
 */
@Service
public class FamilyCounselorBiz extends BaseBiz<FamilyCounselorMapper,FamilyCounselor> {
    @Resource
    private FamilyCounselorMapper familyCounselorMapper;

    public List<FamilyCounselorVo> getList(String conCode, Integer star,
                                           String jonLev, Integer status, String attr2) {
        return familyCounselorMapper.getList(conCode, star, jonLev, status, attr2);
    }

    public Integer selectCounts(String conCode, Integer star, String jonLev, Integer status, String attr2) {
        return familyCounselorMapper.selectCounts(conCode, star, jonLev, status, attr2);
    }
}